
package utilities;

import java.util.Scanner;
/**
 * 
 * @author ahosick
 *
 */
public class Scan {
	
	private static Scanner sc = new Scanner(System.in);
	
	
	public void mySc(){
		sc = new Scanner(System.in);
	}
	
	/**
	 * gets user input as String
	 * @param userPrompt
	 * @return
	 */
	public String getUserInput( String userPrompt ){
		System.out.println(userPrompt);
		return sc.next();
	}
	
	/**
	 * gets user input as an int
	 * @param userPrompt
	 * @return
	 */
	public int getUserInt ( int userPrompt){
		System.out.println(userPrompt);
		return sc.nextInt();
	}
	
	public void nextLine(){
		sc.nextLine();
	}

	public int nextInt(){
		int i = sc.nextInt();
		sc.nextLine();
		return i;
	}
}
